﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.SharePoint;
using System.Xml;
using Microsoft.SharePoint.Utilities;
using System.IO;

namespace Community.SharePoint.PdfIcon
{
    public class PdfIconFeatureReceiver : SPFeatureReceiver
    {

        public override void FeatureActivated(SPFeatureReceiverProperties properties)
        {
            PdfIconHelper.Activate();
        }

        public override void FeatureDeactivating(SPFeatureReceiverProperties properties)
        {
            PdfIconHelper.Deactivate();
        }

        #region unused events

        public override void FeatureInstalled(SPFeatureReceiverProperties properties)
        {
            return; //do nothing
        }

        public override void FeatureUninstalling(SPFeatureReceiverProperties properties)
        {
            return; //do nothing
        }

#endregion
    }
}
